/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import java.util.List;
import javabeans.Event;
import javabeans.Plan;

/**
 *
 * @author liweijiao
 */
public interface IPlanDao {

    public Plan newPlan(Plan plan);

    public boolean updatePlan(Plan plan);

    public boolean deletePlan(int planid);

    public Plan getPlan(int planid);

    public List<Plan> getPlanbyUserId(int userid);
}
